/**
 * service: company
 *
 * @author    Dmitry Ustimov
 * @date      March 2012
 *
 */
package com.gr

class CompanyService {

	def getElement(params){
		println(params)
		def el = Company.get(params.get("id"))
		return [
			'success' :'true', 
			id        : el.id, 
			title     : el.title, 
			email     : el.email, 
			startDate : el.startDate
		]
	}
}
